import Head from 'next/head';
import Nav from './nav';
const Layout = ({ children, title = '无标题' }) => (
    <div>
        <Head>
            <title>{title}</title>
            <meta charSet="utf-8" />
            <meta
                name="viewport"
                content="initial-scale=1.0, width=device-width"
            />
        </Head>
        <Nav />
        {children}
    </div>
);
export default Layout;
